package com.lovo.service;

import com.lovo.entity.MovieEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(name = "movie",fallback = RemoteServiceImpl.class)
public interface IRemoteService {
    @GetMapping("movieList")
    public List<MovieEntity> movieList();

}
